//在此文件中初始化pinia,以前是在main.ts中初始化
import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'


const pinia=createPinia()
pinia.use(persist)


//导出pinia  在main.ts中进行注册
export default pinia

//统一导出所有仓库
export * from './modules/user'

export * from './modules/consult'
